<?php
namespace app\home\model;

use think\Model;
use think\model\concern\SoftDelete;
use think\facade\Log;

class SnatchLog extends Model
{
    //主键
    protected $pk = 'sl_id';
    //表名
    protected $table = 'ch_snatch_log';
    //自动写入、更新时间戳
    //protected $autoWriteTimestamp = true;
    protected $autoWriteTimestamp = 'datetime';
    //只读字段
    //protected $readonly = ['re_id', 'uid'];
    //软删除
    use SoftDelete;
    protected $deleteTime = 'delete_time';
}